const mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');
var schema_cart      = new mongoose.Schema( { userId:String,isCheck:Number,goodsId:String,goodsAttrId:String,goodsCnt:Number,goodsSn:String,goodsName:String,shopId:String,packageId:String,batchNo:String});
schema_cart.plugin(mongoosePaginate);
const ShoppingCart   = mongoose.model('ShoppingCart',schema_cart,'shoppingCart');
      module.exports = ShoppingCart;